package com.example.battle.entity;

import androidx.annotation.NonNull;
import androidx.room.ColumnInfo;
import androidx.room.Entity;
import androidx.room.Ignore;
import androidx.room.PrimaryKey;

import java.io.Serializable;
import java.util.Date;

@Entity
public class FansName implements Serializable {
    @NonNull
    @PrimaryKey(autoGenerate = true)
    @ColumnInfo(name = "id")
    private int id;
    @ColumnInfo(name = "fans_name")
    private String fansName;
    @ColumnInfo(name = "star_name")
    private String starName;
    @ColumnInfo(name = "status")
    private int status;
    @ColumnInfo(name = "register_date")
    private String registerDate;
    @ColumnInfo(name = "weburi")
    private String weburi;

    public FansName(){

    }
    @Ignore
    public FansName(String fansName, String starName){
        this.fansName = fansName;
        this.starName = starName;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getFansName() {
        return fansName;
    }

    public void setFansName(String fansName) {
        this.fansName = fansName;
    }

    public String getStarName() {
        return starName;
    }

    public void setStarName(String starName) {
        this.starName = starName;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getRegisterDate() {
        return registerDate;
    }

    public void setRegisterDate(String registerDate) {
        this.registerDate = registerDate;
    }

    public String getWeburi() {
        return weburi;
    }

    public void setWeburi(String weburi) {
        this.weburi = weburi;
    }
}
